﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoVanHocTapData.Entities;

namespace CoVanHocTapData.Interface
{
    public interface IQuyDinhLuanVan_TTTNRepository
    {
        IQueryable<QuyDinhLuanVan_TTTN> LayQuyDinhTTTNMoiNhat(string maSV, int soLuong);
        IQueryable<QuyDinhLuanVan_TTTN> LayQuyDinhLuanVanMoiNhat(string maSV, int soLuong);

        //vy
        IQueryable<QuyDinhLuanVan_TTTN> LayQuyDinhLV_TTTNTheo(string nganhID, string heDaoTaoID, int nienKhoaID, int loai);
        bool KiemTraQuyDinhLV_TTTNTheo(string nganhID, string heDaoTaoID, int nienKhoaID, int loai);
        void Update(QuyDinhLuanVan_TTTN qdinh);
        void ThemMoi(QuyDinhLuanVan_TTTN qdinh);
    }
}
